

    \filetitle{plotneigh}{Plot local behaviour of objective function after estimation}{grfun/plotneigh}

	\paragraph{Syntax}

\begin{verbatim}
H = grfun.plotneigh(D,...)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\tightlist
\item
  \texttt{D} {[} struct {]} - Structure describing the local behaviour
  of the objective function returned by the
  \href{model/neighbourhood}{\texttt{neighbourhood}} function.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\tightlist
\item
  \texttt{H} {[} struct {]} - Struct with handles to the graphics
  objects plotted by \texttt{plotpp}; the struct has the following
  fields with vectors of handles: \texttt{figure}, \texttt{axes},
  \texttt{obj}, \texttt{est}, \texttt{lik}, \texttt{bounds}.
\end{itemize}

\paragraph{Options}

\begin{itemize}
\item
  \texttt{\textquotesingle{}caption=\textquotesingle{}} {[} \emph{empty}
  \textbar{} cellstr {]} - User-supplied graph titles; if empty, default
  captions will be automatically created.
\item
  \texttt{\textquotesingle{}model=\textquotesingle{}} {[} model
  \textbar{} \emph{empty} {]} - Model object used to create graph
  captions if the option
  \texttt{\textquotesingle{}caption=\textquotesingle{}} is
  \texttt{\textquotesingle{}descript\textquotesingle{}} or
  \texttt{\textquotesingle{}alias\textquotesingle{}}.
\item
  \texttt{\textquotesingle{}plotObj=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} {]} - Plot the local
  behaviour of the overall objective function; a cell array can be
  specified to control graphics options.
\item
  \texttt{\textquotesingle{}plotLik=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} \textbar{} cell {]} -
  Plot the local behaviour of the data likelihood component; a cell
  array can be specified to control graphics options.
\item
  \texttt{\textquotesingle{}plotEst=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} \textbar{} cell {]} -
  Mark the actual parameter estimate; a cell array can be specified to
  control graphics options.
\item
  \texttt{\textquotesingle{}plotBounds=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} \textbar{} cell {]} -
  Draw the lower and/or upper bounds if they fall within the graph
  range; a cell array can be specified to control graphics options.
\item
  \texttt{\textquotesingle{}subplot=\textquotesingle{}} {[}
  \emph{\texttt{\textquotesingle{}auto\textquotesingle{}}} \textbar{}
  numeric {]} - Subplot division of the figure when plotting the
  results.
\item
  \texttt{\textquotesingle{}title=\textquotesingle{}} {[}
  \texttt{\{\textquotesingle{}interpreter=\textquotesingle{},\textquotesingle{}none\textquotesingle{}\}}
  \textbar{} cell {]} - Display graph titles, and specify graphics
  options for the titles.
\item
  \texttt{\textquotesingle{}linkAxes=\textquotesingle{}} {[}
  \texttt{true} \textbar{} \emph{\texttt{false}} {]} - Make the vertical
  axes identical for all graphs.
\end{itemize}

\paragraph{Description}

The data log-likelihood curves are shifted up or down by an arbitrary
constant to make them fit in the graph; their curvature is preserved.

\paragraph{Example}


